home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: Sat, 06 Apr 96 21:25:29 GMT
- Organization: none
- Message-ID: <828825929snz@genesis.demon.co.uk>
- References: <JSA.96Feb16135027@organon.com> <emery-0204960656230001@line030.nwm.mindlink.net> <828632277snz@genesis.demon.co.uk> <dewar.828704810@schonberg> <4k3utg$ndp@solutions.solon.com> <dewar.828757752@schonberg>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <dewar.828757752@schonberg> dewar@cs.nyu.edu "Robert Dewar" writes:
-
- >"You know, POSIX, Spec 1170, X/Open, that kind of stuff. POSIX is the one the
- >US govt. will not use Win NT because of, because it doesn't match the spec
- >they've selected."
- >
- >But none of POSIX, Spec 1170, nor X/Open have official validatoin suites
- >and testing procedures as far as I know, and certainly very few Unix
- >implemntations are 100% compliant with POSIX (very few versions of Unix
- >even claim to support Draft 10 of Posix threads). X/Open is not even
- >a standard as far as I know.
-
- I assume that there are specific parts of POSIX required for validation,
- not all of it. Parts of it are still very much under development.
-
- >I am quite aware that the behavior of read in Linux is ANSI compliant
- >(dspite your memory, I never claimed otherwise).
-
- read() isn't defined by ANSI C, in this context it is a POSIX.1 function.
-
- >I just noted that this
- >is incompatible with most traditional impleemntations and causes
- >portability problems.
-
- You could take the view that is shows up portability problems in code in
- a reasonably tracable way and, as such, is a positive feature! :-)
-
- >I actually know ANSI C very well, but I do not find this knowledge
- >as useful as the Microsoft book on C runtime routines which shows
- >compatibilities between various systems. There are things in ANSI
- >which you cannot use safely and portably,
-
- I'm curious as to the sort of things you are thinking of.
-
- and there are things you
- >can use saetly and portably that are not in ANSI. This will change
- >over time, but that is my experience to date.
-
- >Anyway, can someone who really knows the score here tell us:
- >
- >Which of Unix, Posix, Spec 1170, X/Open have approved national and/or
- >international standards.
-
- Well, POSIX is IEEE standard 1003. I don't think SPEC1170 and XPG are
- national/international standards but are something you have to conform to
- if you want to call your OS UNIX(tm).
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-